package com.nyp.remoter.ejb;

import java.util.List;

import javax.ejb.Stateless;
import javax.persistence.EntityManager;
import javax.persistence.PersistenceContext;
import javax.persistence.criteria.CriteriaBuilder;
import javax.persistence.criteria.CriteriaQuery;
import javax.persistence.criteria.Expression;
import javax.persistence.criteria.ListJoin;
import javax.persistence.criteria.Path;
import javax.persistence.criteria.Root;

import com.nyp.remoter.entity.Cat;
import com.nyp.remoter.entity.Cat_;
import com.nyp.remoter.entity.User;
import com.nyp.remoter.entity.User_;

@Stateless
public class SearchEJB {
	
	@PersistenceContext
	EntityManager em;
	
	public List<User> searchUser(User userFilter){

		return null;
	}
	
	public List<User> searchUserWithCats(User userFilter){

		return null;
	}
	
	public List<Object> searchUsersByProfession(){
		return null;
	}

}
